﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;

namespace Shake.Framework.Mvc
{
    public static class HttpContextBaseExtensions
    {
        public static bool IsBackgroundContext(this HttpContextBase httpContextBase)
        {
            //return httpContextBase == null || httpContextBase is MvcModule.HttpContextPlaceholder;
            return httpContextBase == null;
        }
    }
}
